/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version          2.0;
    format           ascii;
    class            dictionary;
    location         "constant";
    object           CanteraTorchProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

chemistry                   on;

CanteraMechanismFile        "Okafor2018_s59r356.yaml";

transportModel              "Mix";

odeCoeffs
{
    "relTol"                1e-6;
    "absTol"                1e-10;
}

inertSpecie                 "AR";

splittingStrategy           off;

TorchSettings
{
    torch                   on;
    GPU                     on;
    log                     on;
    torchModel              "df_nh3ch4.pt"; 
    frozenTemperature       320;
    inferenceDeltaTime      1e-6;
    coresPerNode            4;
}

loadbalancing
{
    active                  true;
    log                     false;
    algorithm               allAverage;//headTail;
}


// ************************************************************************* //
